package ui.tests;


import org.omg.Dynamic.Parameter;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.Assert;
import org.testng.annotations.*;
import pages.HomePage;



import java.util.concurrent.TimeUnit;

public class Basic {
    public static WebDriver driver;

    @BeforeSuite
    public void initEnv()
    {
        driver = new FirefoxDriver();
        driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
        driver.manage().window().maximize();
    }

    @AfterSuite
    public void shutEnv()
    {
        if (driver!=null)
        {
            driver.quit();
        }
    }
}
